package com.wnhz.work.yz.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.wnhz.work.yz.BaseActivity;
import com.wnhz.work.yz.R;

public class UserUpgradeActivity extends BaseActivity implements View.OnClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_upgrade);

        TextView title = (TextView) findViewById(R.id.view_main_middle_title);
        title.setText("申请提升等级");
        findViewById(R.id.btn_main_left).setOnClickListener(this);

        findViewById(R.id.rl_aService).setOnClickListener(this);
        findViewById(R.id.rl_bService).setOnClickListener(this);
        findViewById(R.id.rl_cooperation).setOnClickListener(this);//战略合作伙伴
        findViewById(R.id.rl_seed).setOnClickListener(this);//种子会员
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_main_left:
                finish();
                break;
            //A级服务商
            case R.id.rl_aService:
                MyToast("A级服务商");
                break;

            //B级服务商
            case R.id.rl_bService:
                MyToast("B级服务商");
                break;

            //战略合作伙伴
            case R.id.rl_cooperation:
                MyToast("战略合作伙伴");
                break;

            //种子会员
            case R.id.rl_seed:
                MyToast("种子会员");
                break;
        }
    }
}
